.file-explorer {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;

  /* 处理按钮数超出宽度 */
  overflow: visible;
  background-color: #fff;

  .header {
    height: 40px;
    padding: 0 10px;
    line-height: 40px;
    background-color: unset;
    border-bottom: 1px solid #ebeef5;
  }

  .el-table__row td {
    // padding-bottom: 5px;
  }

  .es-search-box {
    position: absolute;
    top: 0;
    bottom: 0;
  }

  .folder-name {
    cursor: pointer;

    &:hover {
      color: var(--color-primary);
      text-decoration: underline;
    }
  }

  .table-box-person {
    .file-name-wrapper {
      flex: 1 1 auto;

      @include ellipsis-line;
    }

    .file-name {
      max-height: 52px;
      overflow: hidden;
    }

    .u-btn {
      display: none;
      margin-left: 5px;
      color: #909399;
      font-size: 18px;
      line-height: 18px;
      vertical-align: top;
      cursor: pointer;

      @media all and (-ms-high-contrast: none) {
        &.el-icon-collection-tag {
          position: relative;
          top: 2px;
        }

        &::before {
          display: inline-block;
          width: 18px;
          height: 18px;
        }
      }

      &:hover {
        color: var(--color-primary);
      }
    }

    tr:hover {
      .u-btn {
        display: inline;
      }

      .date {
        display: none;
      }
    }
  }

  .easy-cm-ul li div:hover {
    color: #000 !important;
    background-color: #f3f4f9 !important;
  }

  .easy-cm-ul i {
    margin-right: 10px;
    color: #a7a7a7;
    font-size: 12px;
  }

  .file-icon {
    display: inline-block;
    width: 24px;
    min-width: 24px;
    height: 24px;
    margin-right: 6px;
    background-repeat: no-repeat;

    i {
      display: inline-block;
      width: 26px;
      height: 26px;
      background-repeat: no-repeat;
    }
  }

  .table-wrapper {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 0;
  }

  .content-wrapper {
    position: relative;
    flex: 1 1 auto;
    height: 100%;
  }

  .file-table td,
  .file-table th {
    height: 44px;
    padding: 5px 5px 5px 0;
    font-size: 14px;
    line-height: 30px;
  }

  .file-name-cell {
    display: flex;
    align-items: center;

    .file-name {
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }

  .file-name {
    flex: 1 1 auto;
  }

  .file-box {
    display: flex;
    align-items: center;
  }

  .file-name-box {
    display: flex;
    align-items: center;

    // height: 40px;
    // min-height: 40px; ie11不可用min-height 否则无法垂直居中
    .u-btn {
      font-size: 1.3em;

      &:hover {
        color: var(--color-primary);
      }
    }

    .file-icon {
      display: flex;
      flex-shrink: 0;
      align-items: center;
      margin-right: 10px;
    }

    .file-name {
      display: flex;
      align-items: center;
      padding-left: 0;
    }

    .file-tags {
      display: flex;
      align-items: center;
    }

    .el-tag {
      margin-right: 10px;
    }
  }
}
